package yhao.demo.autocode.core.sqlmapper.connect;

public class SqlModelDef {
    private String dataType ;         //字段数据类型
    private String columnName ;       //字段名
    private boolean primaryKey ;      //字段是否为主键
    private String columnComment ;    //注释
    private boolean indexKey;         //是否为索引键
    private String columnType;        //字段扩展表示
    private boolean canNull;          //是否可以为空

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public boolean isPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(boolean primaryKey) {
        this.primaryKey = primaryKey;
    }

    public String getColumnComment() {
        return columnComment;
    }

    public void setColumnComment(String columnComment) {
        this.columnComment = columnComment;
    }

    public boolean isIndexKey() {
        return indexKey;
    }

    public void setIndexKey(boolean indexKey) {
        this.indexKey = indexKey;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public boolean isCanNull() {
        return canNull;
    }

    public void setCanNull(boolean canNull) {
        this.canNull = canNull;
    }
}